package com.hubei.dao;

import com.hubei.dao.impl.UserDaoImpl;
import com.hubei.vo.Users;

import java.util.List;

/**
 * @author PJM
 * @date 2025/6/24-9:18
 */
public interface UserDao {

    static UserDao getInstance(){
        return new UserDaoImpl();
    }

    Users userLogin(Users users);

    List<Users> queryUserList(String username);

    int insertUser(Users users);
    public void deleteById(int id) ;

}
